﻿using System.Windows.Forms;

namespace ChordCreator.ViewServices
{
    public static class MessageHelper
    {
        public static void ShowCriticalError(string message, params object[] args)
        {
            string formattedMessage = string.Format(message, args);
            MessageBox.Show(formattedMessage + " Reinstalling may fix this problem. Contact arrrrch@mail.ru for details with subject 'Chord Creator'");
            Application.Exit();
        }
    }
}
